package cn.iune.erp.accounting;

import java.sql.SQLException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

public interface IAccountVoucherDetailDao {

	public void insert(AccountVoucherDetail a);
	
	public AccountVoucherDetail update(AccountVoucherDetail a);

	public void delete(String fID);

	public AccountVoucherDetail getByID(String fID);
	
	public List<AccountVoucherDetail> getAll();
	

	public List<AccountVoucherDetail> getByMasterID(String fMasterID);

	JSONObject query(JSONObject data) throws SQLException;

	AccountVoucherDetail getByNo(String voucherNo, String serialNo, String enterpriseNo);

	JSONObject create(JSONObject data);


}
